package com.xinqi.modules.chat.chat.official.json;


import com.alibaba.fastjson.JSON;
import com.xinqi.common.core.constant.ChatRemindConstants;
import io.rong.messages.BaseMessage;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * @Author：yyzhen
 * @Package：com.xinqi.modules.chat.chat.official.json
 * @Project：xinqi.modules-Cloud-Plus
 * @name：ChatRemindMessage
 * @Date：2023/5/9 15:39
 * @Filename：ChatRemindMessage
 */
public class ChatRemindMessage extends BaseMessage {
    @Schema(description = "接收用户ID", example = "")
    private String userId;

    @Schema(description = "提醒消息类型", example = "")
    private String remindType;

    @Schema(description = "课程类型", example = "")
    private Integer contentType;

    @Schema(description = "课程内容ID", example = "")
    private String contentId;

    @Schema(description = "课程ID", example = "")
    private String courseId;

    @Schema(description = "班级ID", example = "")
    private String classId;

    @Schema(description = "提醒消息", example = "")
    private String content;

    @Schema(description = "推送消息", example = "")
    private String pushContent;

    @Schema(description = "作业使用 -- 轮数", example = "1")
    private Integer times;

    @Schema(description = "操作数据")
    private String data;

    @Override
    public String getType() {
        return ChatRemindConstants.REMIND_OBJECT_NAME;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getRemindType() {
        return remindType;
    }

    public void setRemindType(String remindType) {
        this.remindType = remindType;
    }

    public Integer getContentType() {
        return contentType;
    }

    public void setContentType(Integer contentType) {
        this.contentType = contentType;
    }

    public String getContentId() {
        return contentId;
    }

    public void setContentId(String contentId) {
        this.contentId = contentId;
    }

    public String getClassId() {
        return classId;
    }

    public void setClassId(String classId) {
        this.classId = classId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPushContent() {
        return pushContent;
    }

    public void setPushContent(String pushContent) {
        this.pushContent = pushContent;
    }

    public Integer getTimes() {
        return times;
    }

    public void setTimes(Integer times) {
        this.times = times;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }
}
